package co.edu.usbcali.sap.modelo.control;

import co.edu.usbcali.sap.modelo.Rol;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * interface RolLogic
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IRolLogic {
    public List<Rol> getRol() throws Exception;

    public void saveRol(Integer rolCodigo, String rolDescripcion,
        String rolNombre) throws Exception;

    public void deleteRol(Integer rolCodigo) throws Exception;

    public void updateRol(Integer rolCodigo, String rolDescripcion,
        String rolNombre) throws Exception;

    public Rol getRol(Integer rolCodigo) throws Exception;

    public List<Rol> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Rol> findPageRol(String sortColumnName, boolean sortAscending,
        int startRow, int maxResults) throws Exception;

    public Long findTotalNumberRol() throws Exception;
}
